//
//  WBUserAccount.h
//  WeiBoOC
//
//  Created by 韩菲菲 on 16/8/10.
//  Copyright © 2016年 韩菲菲. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WBUserAccount : NSObject

//用户授权的唯一票据
@property (nonatomic , copy) NSString *access_token;

//access_token的生命周期，单位是秒数
@property (nonatomic , assign) int expires_in;

//授权用户的UID
@property (nonatomic , copy) NSString *uid;

//昵称
@property (nonatomic , copy) NSString *screen_name;

///头像地址
@property (nonatomic , copy) NSString *avatar_large;

//日期格式
@property (nonatomic , strong ) NSDate *expires_date;

- (instancetype)initWithDictionary:(NSDictionary *)dict;

+ (instancetype)accountWithDictionary:(NSDictionary *)dict;

@end
